<template>
  <span class="ep-proofread">{{ text }}<span class="ep-proofread">{{ count }}</span>{{ unit }}</span
  >
</template>

<script>
export default {
  name: "epProofread",
  props: {
    text: {
      type: String,
      required: true,
    },
    count: {
      type: [Number, String],
      required: true,
      default: 0
    },
    unit: {
      type: String,
      default: "条",
    },
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.ep-proofread {
  display: inline-block;
  padding: 0 2px;
  font-size: 16px;
  font-weight: bold;
  color: @primary-color;
}
</style>
